package com.qf.entity;

import java.lang.reflect.Type;
import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * (TbResource)实体类
 *
 * @author makejava
 * @since 2023-07-18 20:38:24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TbResource{             /**
     * 资源编号
     */
@TableId(type = IdType.AUTO)
    private Integer resourceId;
        /**
     * 资源类型
     */
    private String resourceType;
        /**
     * 资源标题
     */
    private String resourceTitle;
        /**
     * 资源链接
     */
    private String resourceUrl;
        /**
     * 资源创建时间
     */
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date resourceCreatetime;


}

